package com.hhm.huo.entity;

import lombok.Data;

/**
 * 返回值结果
 */
@Data
public class Result<T> {
    int code = 200;
    String info = "";
    T jdata;

    public Result(int code, String info, T jdata) {
        this.code = code;
        this.info = info;
        this.jdata = jdata;
    }

    public Result(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public Result(T jdata) {
        this.jdata = jdata;
    }
}
